// 共有的表格列
import { ref } from 'vue'

//盘点单列表
const InventoryCheckColums = ref([
  {
    key: -1,
    label: `序号`,
    visible: true,
    prop: 'pageNo',
    langKey: 'InventoryCheckColums.pageNo',
    width: '80',
  },
  {
    key: 0,
    label: `盘点单状态`,
    visible: true,
    prop: 'enableFlag',
    langKey: 'InventoryCheckColums.enableFlag',
    width: '150',
  },
  {
    key: 1,
    label: `盘点单号`,
    visible: true,
    prop: 'takeStockNo',
    langKey: 'InventoryCheckColums.checkNo',
    isclick: true,
    width: '150',
  },
  {
    key: 2,
    label: `盘点名称`,
    visible: true,
    prop: 'takeStockName',
    langKey: 'InventoryCheckColums.checkName',
    width: '150',
  },
  {
    key: 3,
    label: `盘点组织`,
    visible: true,
    prop: 'takeStockOrganizationName',
    langKey: 'InventoryCheckColums.checkOrg',
    width: '200',
  },

  {
    key: 4,
    label: `开始时间`,
    visible: true,
    prop: 'startDate',
    langKey: 'InventoryCheckColums.startDate',
    width: '100',
  },
  {
    key: 5,
    label: `结束时间`,
    visible: true,
    prop: 'endDate',
    langKey: 'InventoryCheckColums.endDate',
    width: '100',
  },
  {
    key: 6,
    label: `创建人`,
    visible: true,
    prop: 'createUser',
    langKey: 'InventoryCheckColums.createUser',
    width: '150',
  },
  {
    key: 7,
    label: `创建时间`,
    visible: true,
    prop: 'createDate',
    langKey: 'InventoryCheckColums.createDate',
    width: '100',
  },
  {
    key: 6,
    label: `备注`,
    visible: true,
    prop: 'remark',
    langKey: 'InventoryCheckColums.remark',
  },
])

//盘点明细资产列表
const InventoryCheckDetailColums = ref([
  {
    key: -1,
    label: `序号`,
    visible: true,
    prop: 'pageNo',
    langKey: 'InventoryCheckDetailColums.pageNo',
    width: '80',
  },
  {
    key: 0,
    label: `盘点状态`,
    visible: true,
    prop: 'operationStatus',
    langKey: 'InventoryCheckDetailColums.operationStatus',
    width: '100',
  },
  {
    key: 1,
    label: `资产编码`,
    visible: true,
    prop: 'assetsCode',
    langKey: 'InventoryCheckDetailColums.assetsCode',
    isclick: true,
    width: '100',
  },
  {
    key: 2,
    label: `资产名称`,
    visible: true,
    prop: 'assetsName',
    langKey: 'InventoryCheckDetailColums.assetsName',
    width: '150',
  },
  {
    key: 3,
    label: `资产状态`,
    visible: true,
    prop: 'enableFlag',
    langKey: 'InventoryCheckDetailColums.enableFlag',
    width: '100',
  },
  {
    key: 4,
    label: `资产分类`,
    visible: true,
    prop: 'assetsClassify',
    langKey: 'InventoryCheckDetailColums.assetsClassify',
    width: '100',
  },
  {
    key: 5,
    label: `所属组织`,
    visible: true,
    prop: 'ownershipOrganizational',
    langKey: 'InventoryCheckDetailColums.ownershipOrganizational',
    width: '150',
  },
  {
    key: 6,
    label: `区域位置`,
    visible: true,
    prop: 'region',
    langKey: 'InventoryCheckDetailColums.region',
    width: '150',
  },
  {
    key: 7,
    label: `保管员`,
    visible: true,
    prop: 'storekeeperUser',
    langKey: 'InventoryCheckDetailColums.storekeeperUser',
    width: '100',
  },
])

export { InventoryCheckColums, InventoryCheckDetailColums }
